package com.diao.myhub.properties;

import com.diao.myhub.model.dto.TagConfigDTO;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@ConfigurationProperties(prefix = "hot-tag")
@Data
@Component
public class HotTagProperties {
    List<TagConfigDTO> tagCategory;
}
